╬πδαΓδσφΦσ

Layout Manager
╨σµΦ∞√
FlowLayout
GridLayout
BorderLayout
CardLayout
GridBagLayout
└∩δσ≥ FormLayout

    ╨σµΦ∞ GridLayout

    ┬ ≡σµΦ∞σ GridLayout Ωε∞∩εφσφ≥√ ≡ατ∞σ∙α■≥±  Γ  ≈σΘΩα⌡ ≥αßδΦ÷√, ∩α≡α∞σ≥≡√ Ωε≥ε≡εΘ ∞εµφε ταΣα≥ⁿ ± ∩ε∞ε∙ⁿ■ Ωεφ±≥≡≤Ω≥ε≡εΓ Ωδα±±α GridLayout.

    ╧≡Φ ≡ατ∞σ∙σφΦΦ Ωε∞∩εφσφ≥ Γφ≤≥≡Φ  ≈σσΩ ≥αßδΦ÷√ Γ±σ εφΦ ∩εδ≤≈α■≥ εΣΦφαΩεΓ√σ ≡ατ∞σ≡√. ┼±δΦ εΣΦφ Φτ ∩α≡α∞σ≥≡εΓ, ταΣα■∙Φ⌡ ≡ατ∞σ≡φε±≥ⁿ ≥αßδΦ÷√, ≡αΓσφ φ≤δ■, ²≥ε ετφα≈ασ≥, ≈≥ε ±εε≥Γσ≥±≥Γ≤■∙ΦΘ ±≥εδßσ÷ ΦδΦ ±≥≡εΩα ∞εµσ≥ ±εΣσ≡µα≥ⁿ δ■ßεσ ΩεδΦ≈σ±≥Γε ²δσ∞σφ≥εΓ.

    ╟α∞σ≥Φ∞, ≈≥ε εßα ∩α≡α∞σ≥≡α rows Φ cols φσ ∞επ≤≥ ß√≥ⁿ ≡αΓφ√ φ≤δ■ εΣφεΓ≡σ∞σφφε.

    ╧≡ΦΓσΣσ∞ ε∩Φ±αφΦσ Ωεφ±≥≡≤Ω≥ε≡εΓ Ωδα±±α GridLayout.

    ╩εφ±≥≡≤Ω≥ε≡√

    ╤ετΣαφΦσ ≥αßδΦ÷√ ± ταΣαφφ√∞ ΩεδΦ≈σ±≥Γε∞ ±≥≡εΩ Φ ±≥εδß÷εΓ

    public GridLayout(
      int rows, int cols);

    ╤ετΣαφΦσ ≥αßδΦ÷√ ± ταΣαφφ√∞  ΩεδΦ≈σ±≥Γε∞ ±≥≡εΩ Φ ±≥εδß÷εΓ Φ ± ταΣαφφ√∞ τατε≡ε∞ ∞σµΣ≤ Ωε∞∩εφσφ≥α∞Φ

    public GridLayout(int rows,
      int cols, int hgap, int vgap);

    ╠σ≥εΣ√

    ╠σ≥εΣ√ Ωδα±±α GridLayout Φ±∩εδⁿτ≤■≥±  ≡σΣΩε, ∩ε²≥ε∞≤ ∞√ Φ⌡ ≥εδⁿΩε ∩σ≡σ≈Φ±δΦ∞.

    public void addLayoutComponent(
      String name,Component comp);
    public void layoutContainer(
      Container target);
    public Dimension minimumLayoutSize(
      Container target);
    public Dimension preferredLayoutSize(
      Container target);
    public void removeLayoutComponent(
      Component comp);
    public String toString();


Java | ╧≡εΣ≤Ω≥√ Φ ≡σ°σφΦ  | ╥σ⌡φεδεπΦΦ | ╤σ≡ΓΦ± Φ εß≤≈σφΦσ
╬ Ωε∞∩αφΦΦ | ╧α≡≥φσ≡√ | ═εΓε±≥Φ | ╧εΦ±Ω
Sun Microsystems Inc. Corporate Information Our partners News and Events Search on site Java Computing Products and Solutions Technologies and Researches Education and Service Content